#ifndef _COM_BOSE_AUDIO_MESSAGER_H_
#define _COM_BOSE_AUDIO_MESSAGER_H_

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

#include <AudioPlayer.h>


namespace com {
namespace bose {

class AudioMessager {

public:
    virtual ~AudioMessager();
    AudioMessager();
    //get socket fd
    PlayStatus get_player_status();
    session_id play_wav(const std::string url);
    ErrorCode stop_wav(session_id id);
    ErrorCode pause_wav(session_id id, bool pause);
    ErrorCode seek_to(int32_t seconds);

protected:

private:
    AudioPlayer* mPlayer;

};


} //namespace bose
} //namespace com
#endif //endif _COM_BOSE_AUDIO_MESSAGER_H_